<%= render 'public/flash_notice' %>
<div class="row">
  <ol class="breadcrumb">
    <li>系统设置</li>
    <li>更换密码</li>
  </ol>
  <%= form_for [:cpanel, @user],  class: 'form-horizontal', role: 'form' do |f| %>
    <div class="form-group">
      <label>用户名</label>
      <%= f.text_field :name, value: @user.name, class: "form-control" %>
    </div>
    <div class="form-group">
      <label>密码</label>
      <%= f.password_field :password, class: 'form-control' %>
    </div>
    <div class="form-group">
      <%= f.submit '提交', class: 'btn btn-primary' %>
    </div>
  <% end %>
</div>

